<?php
require_once("../class/Include.class.php"); 
$obj_site = new Site(); 
?>

<!doctype html>
<html>
<head>
<?php require_once('../includes/head.php'); ?>


</head>

<body class="bg_produtos">

<!--	==============================================================	-->
<!--	TOPO	-->
<!--	==============================================================	-->
<?php require_once('../includes/topo.php') ?>



<!--	==============================================================	-->
<!--	LOCALIZACAO INTERNA	-->
<!--	==============================================================	-->
<div id="localizacao_interna">

	<div id="localizacao_interna_container">
    	
        
        <h2>Você está em</h2>
        <h4> > </h4>
        <h4>HOME </h4> 
        <h4> > </h4>
        <h4><span>SERVIÇOS</span></h4>
        
    </div>

</div>


<!--	==============================================================	-->
<!--	CONTAINER	-->
<!--	==============================================================	-->
<div class="container">

	
    	<div id="lista_servicos">
        
    
            <h1>CONHEÇA NOSSOS SERVIÇOS</h1>   
         	
			<ul>
			<?php
				$result = $obj_site->select("tb_servicos");
				if(mysql_num_rows($result) > 0)
				{
					while($row = mysql_fetch_array($result))
					{
						?>
						<li>
							<a href="<?php echo Util::caminho_projeto(); ?>/servicos/<?php util::imprime($row[url_amigavel]); ?>" title="<?php Util::imprime($row[titulo]); ?>">
								<?php $obj_site->redimensiona_imagem("../uploads/".$row[imagem],280,130, array("alt"=>$row[titulo])); ?>
								<h4><?php Util::imprime($row[titulo]); ?></h4>
							</a>
						</li>
						<?php	
					}
				}
				?>
            
        		<?php /*?>
            	<li>
            		<a href="#" title="">
                    	<img src="../imgs/exemplo_servicos.jpg" alt="" />
                    	<h4>Lorem Ipsum is simply dummy text of the printing</h4>
                    </a>
                </li>
                <li>
            		<a href="#" title="">
                    	<img src="../imgs/exemplo_servicos.jpg" alt="" />
                    	<h4>Lorem Ipsum is simply dummy text of the printing</h4>
                    </a>
                </li>
                <li>
            		<a href="#" title="">
                    	<img src="../imgs/exemplo_servicos.jpg" alt="" />
                    	<h4>Lorem Ipsum is simply dummy text of the printing</h4>
                    </a>
                </li>
                <li>
            		<a href="#" title="">
                    	<img src="../imgs/exemplo_servicos.jpg" alt="" />
                    	<h4>Lorem Ipsum is simply dummy text of the printing</h4>
                    </a>
                </li>
                <li>
            		<a href="#" title="">
                    	<img src="../imgs/exemplo_servicos.jpg" alt="" />
                    	<h4>Lorem Ipsum is simply dummy text of the printing</h4>
                    </a>
                </li>
                <li>
            		<a href="#" title="">
                    	<img src="../imgs/exemplo_servicos.jpg" alt="" />
                    	<h4>Lorem Ipsum is simply dummy text of the printing</h4>
                    </a>
                </li>
				<?php */?>
            </ul>
            
            
            
        
        </div>
    
    
    
    

</div>




<!--	==============================================================	-->
<!--	RODAPE	-->
<!--	==============================================================	-->
<?php require_once('../includes/rodape.php'); ?>



</body>
</html>